package com.platform.common.handler.exception;

import com.platform.common.bean.Result;
import com.platform.common.menus.ResultCodeEnum;
import lombok.extern.slf4j.Slf4j;

/**
 * describe:系统错误
 *
 * @author rainly
 * @date 2020/3/14
 * @time 9:53 下午
 */
@Slf4j
class SystemExceptionResult implements ExceptionResult {
    @Override
    public Result retResult() {
        log.info("未识别错误");
        return Result.failure(ResultCodeEnum.SYSTEM_ERROR);
    }
}
